<!DOCTYPE html>
<html>

<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width,initial-scale=1.0'>
    <meta http-equiv='X-UA-Compatible' content='ie=edge'>
    <title>Document</title>
</head>

<body>
    <div id='app'>
        <!-- v-bind绑定标签的任意属性
    id src class style 等
-->
        <!-- <p id="left">内容</p> -->
        <p v-bind:id="ID">内容</p>
        <img v-bind:src="SRC" alt="">

    </div>
    <script src='./vue.js'></script>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                ID: 'right',
                SRC: './logo.png'
            },
            methods: {

            }
        });
    </script>
</body>

</html>